-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add section on manual style to Writing Guidelines #10169
Conversation
4bb3745
to
dd090c2
Compare
This comment was marked as resolved.
This comment was marked as resolved.
dd090c2
to
ac2a416
Compare
Specifies when to link to the class reference. Specifies how to style various kinds of text.
ac2a416
to
e7c07d2
Compare
.. tip:: In most text editors, you can add a vertical guide or "ruler" at 80 | ||
characters. For example, in Visual Studio Code, you can add the following to | ||
your ``settings.json`` to add rulers at 80 and 100 characters: | ||
|
||
.. code:: json | ||
|
||
"editor.rulers": [80,100], | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this. We can't list how to do it in all editors. Is VS Code common enough to show favoritism here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'd say VS Code is pretty much the "default" text editor for most people at this point (especially when no IDE fits the bill).
I have noticed that with these additions, the I'd like to continue adding style and content guidelines for a little while (I have a couple more PRs in mind after this one), then address the potential reorganization of these pages. Since these are contributing pages that not much depends on, there should be little harm caused by shuffling content around after it's added, if necessary. |
Thanks! Merged. Not cherry-picking this one, as we pretty much expect people to use |
Resolves #5932.
Adds several guidelines on formatting and style for the manual specifically. I documented existing usage as best I could, plus a few opinionated changes that are not yet widespread across the manual, such as linking to project settings.